﻿ALTER TABLE [dbo].[SubOrderToOrderDiplom]
    ADD CONSTRAINT [FK_SubOrderToOrderDiplom_SubOrderPractice] FOREIGN KEY ([SubOrderId]) REFERENCES [dbo].[SubOrderPractice] ([Id]) ON DELETE CASCADE ON UPDATE CASCADE;



